/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: ufro ufro
 * License Type: Evaluation
 */
package orm.dao;

import org.orm.*;
import org.hibernate.Query;
import java.util.List;
import orm.*;

public interface PersonaDAO {
	public Persona loadPersonaByORMID(int id);
	public Persona getPersonaByORMID(int id);
	public Persona loadPersonaByORMID(int id, org.hibernate.LockMode lockMode);
	public Persona getPersonaByORMID(int id, org.hibernate.LockMode lockMode);
	public Persona loadPersonaByORMID(PersistentSession session, int id);
	public Persona getPersonaByORMID(PersistentSession session, int id);
	public Persona loadPersonaByORMID(PersistentSession session, int id, org.hibernate.LockMode lockMode);
	public Persona getPersonaByORMID(PersistentSession session, int id, org.hibernate.LockMode lockMode);
	public Persona[] listPersonaByQuery(String condition, String orderBy);
	public Persona[] listPersonaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode);
	public Persona[] listPersonaByQuery(PersistentSession session, String condition, String orderBy);
	public Persona[] listPersonaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode);
	public Persona loadPersonaByQuery(String condition, String orderBy);
	public Persona loadPersonaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode);
	public Persona loadPersonaByQuery(PersistentSession session, String condition, String orderBy);
	public Persona loadPersonaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode);
	public Persona createPersona();
	public boolean save(orm.Persona persona);
	public boolean delete(orm.Persona persona);
	public boolean deleteAndDissociate(orm.Persona persona);
	public boolean deleteAndDissociate(orm.Persona persona, org.orm.PersistentSession session);
	public boolean refresh(orm.Persona persona);
	public boolean evict(orm.Persona persona);
	public Persona loadPersonaByCriteria(PersonaCriteria personaCriteria);
	public Persona[] listPersonaByCriteria(PersonaCriteria personaCriteria);
}
